//参数错误
export const ErrotParams = {
    code:100,
    msg:"抱歉,参数错误"
}
//用户名或密码错误
export const ErrorNamePwd = {
    code: 201,
    msg: "抱歉，用户名不存在或密码错误"
}

//注册用户，用户名重复
export const ErrorUserName = {
    code:202,
    msg:"抱歉，该用户已存在"
}


//所要创建剧本名字在文档中已存在或报错
export const ErrorScriptName = {
    code:204,
    msg:"抱歉，该剧本已存在或报错"
}

//临时房间已存在
export const errorTemRoom = {
    code:205,
    msg:"抱歉该房间已存在"
}

//没有token
export const TokenNotFound = {
    code:401,
    msg:"抱歉，您尚未登录"
}

//token格式不正确 没有Bearer
export const ErrorTokenType = {
    code:402,
    msg:"抱歉，token格式不正确，请检查!"
}

//token不正确
export const ErrorToken = {
    code:403,
    msg:"抱歉，用户认证失败"
}


